<template>
  <div class="btn-group">
    <Button
      type="info"
      v-btnAuth="{
        type: 'add',
        path: $route.path,
      }"
      >新增</Button
    >
    <Button
      type="success"
      v-btnAuth="{
        type: 'change',
        path: $route.path,
      }"
      >修改</Button
    >
    <Button
      type="warning"
      v-btnAuth="{
        type: 'del',
        path: $route.path,
      }"
      >删除</Button
    >
    <Button
      type="error"
      v-btnAuth="{
        type: 'export',
        path: $route.path,
      }"
      >导出</Button
    >

    <!-- <Button type="add">新增</Button>
    <Button type="change">修改</Button>
    <Button type="del">删除</Button>
    <Button type="export">导出</Button> -->
  </div>
</template>
<script>
export default {};
</script>
<style lang="less" scoped>
.btn-group {
  .ivu-btn {
    margin: 20px;
  }
}
</style>
